import binascii
a = '1d3fnjn3nsdgk300'
print(a.encode('utf-8'))
hex_val = binascii.hexlify(a.encode('utf-8'))
b = bytes.fromhex(hex_val.decode('utf-8'))
hex_val1 = hex_val
print(b)
print(len(b))